﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.ServiceModel.Web;

namespace Ridofy.Spotify
{
    [ServiceContract(Namespace = "http://www.spotify.com/ns/music/1")]
    [XmlSerializerFormat]
    public interface ISpotifyApi   
    {
        [OperationContract]
        [WebGet(UriTemplate = "track?q={trackName}")]
        SpotifySearchResult SearchTrack(string trackname);
    }
}
